package org.yty.travelagencyredis.Dao;

import org.yty.travelagencyredis.model.Entity.SignUp;

import java.util.List;

public interface SignUpDao {
     List<SignUp> getListByTourGroupId(Long tourGroupId);

     List<SignUp> selectByTravellerId(Long travellerId);

     void deleteByTourGroupIdAndTravellerId(Long tourGroupId, Long travellerId);

     boolean insert(SignUp signUp);

     boolean save(SignUp signUp);

     void deleteByTravellerId(Long travellerId);

     void deleteByTourGroupId(Long tourGroupId);
}
